package com.rc.saas.mini.model.member;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-08-17
 */

@ApiModel(value=" member_refund_apply ", description=" 客户提现申请 ")
public class MemberRefundApply extends BaseModel{ 

    @ApiModelProperty(value = "ID")
    private Long refundApplyId;
 
    @ApiModelProperty(value = "运营商")
    private String tenantCode;
 
    @ApiModelProperty(value = "会员ID/渠道商ID")
    private Long memberId;
 
    @ApiModelProperty(value = "收款人姓名（必须实名）")
    private String memberRealName;
 
    @ApiModelProperty(value = "收款人手机号（必须存在此会员手机号）")
    private String memberMobile;
 
    @ApiModelProperty(value = "退款类型 0在线退款 默认0")
    private String refundType;
 
    @ApiModelProperty(value = "申请来源 0 公众号 1 APP  2小程序 3运营商后台  默认0")
    private String refundSource;
 
    @ApiModelProperty(value = "提现途径  0 微信  1支付宝 2银行卡 默认0")
    private String refundBy;
 
    @ApiModelProperty(value = "银行代码（国标）")
    private String refundBankCode;
 
    @ApiModelProperty(value = "银行卡号")
    private String refundBankBankcard;
 
    @ApiModelProperty(value = "退款金额/申请金额")
    private BigDecimal refundAmount;
 
    @ApiModelProperty(value = "申请原因")
    private String reason;
 
    @ApiModelProperty(value = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date auditingTime;
 
    @ApiModelProperty(value = "付款成功时间,2015-05-19 15:26:59")
    private String paymentTime;
 
    @ApiModelProperty(value = "审核状态 0未审核，1已处理，2驳回 3提现中 4已到账 5提现失败 默认0")
    private String status;
 
    @ApiModelProperty(value = "审核备注")
    private String remark;
 
    @ApiModelProperty(value = "申请时微信name")
    private String wxName;
 
    @ApiModelProperty(value = "申请时微信openid")
    private String wxOpenid;
 
    @ApiModelProperty(value = "申请时wx_originalid")
    private String wxOriginalid;
 
    @ApiModelProperty(value = "null")
    private String createdBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    @ApiModelProperty(value = "加盟商ID")
    private String operatorId;
 
    @ApiModelProperty(value = "申请用户类型 0渠道商收益金 1加盟商 2 会员余额默认0")
    private String refundMemberType;
 
    @ApiModelProperty(value = "实扣金额")
    private BigDecimal faceAmount;
 
    @ApiModelProperty(value = "手续费")
    private BigDecimal serviceFee;
 
    @ApiModelProperty(value = "订单号")
    private String outTradeNo;
 
    @ApiModelProperty(value = "微信官方订单号")
    private String transactionId;
 
    @ApiModelProperty(value = "申请时支付宝账号")
    private String aliAcount;
 
    @ApiModelProperty(value = "申请时用户真实姓名")
    private String realName;
 
    public Long getRefundApplyId() {
        return refundApplyId;
    }

    public void setRefundApplyId(Long refundApplyId) {
        this.refundApplyId = refundApplyId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getMemberRealName() {
        return memberRealName;
    }

    public void setMemberRealName(String memberRealName) {
        this.memberRealName = memberRealName;
    }

    public String getMemberMobile() {
        return memberMobile;
    }

    public void setMemberMobile(String memberMobile) {
        this.memberMobile = memberMobile;
    }

    public String getRefundType() {
        return refundType;
    }

    public void setRefundType(String refundType) {
        this.refundType = refundType;
    }

    public String getRefundSource() {
        return refundSource;
    }

    public void setRefundSource(String refundSource) {
        this.refundSource = refundSource;
    }

    public String getRefundBy() {
        return refundBy;
    }

    public void setRefundBy(String refundBy) {
        this.refundBy = refundBy;
    }

    public String getRefundBankCode() {
        return refundBankCode;
    }

    public void setRefundBankCode(String refundBankCode) {
        this.refundBankCode = refundBankCode;
    }

    public String getRefundBankBankcard() {
        return refundBankBankcard;
    }

    public void setRefundBankBankcard(String refundBankBankcard) {
        this.refundBankBankcard = refundBankBankcard;
    }

    public BigDecimal getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(BigDecimal refundAmount) {
        this.refundAmount = refundAmount;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Date getAuditingTime() {
        return auditingTime;
    }

    public void setAuditingTime(Date auditingTime) {
        this.auditingTime = auditingTime;
    }

    public String getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(String paymentTime) {
        this.paymentTime = paymentTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getWxName() {
        return wxName;
    }

    public void setWxName(String wxName) {
        this.wxName = wxName;
    }

    public String getWxOpenid() {
        return wxOpenid;
    }

    public void setWxOpenid(String wxOpenid) {
        this.wxOpenid = wxOpenid;
    }

    public String getWxOriginalid() {
        return wxOriginalid;
    }

    public void setWxOriginalid(String wxOriginalid) {
        this.wxOriginalid = wxOriginalid;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public String getRefundMemberType() {
        return refundMemberType;
    }

    public void setRefundMemberType(String refundMemberType) {
        this.refundMemberType = refundMemberType;
    }

    public BigDecimal getFaceAmount() {
        return faceAmount;
    }

    public void setFaceAmount(BigDecimal faceAmount) {
        this.faceAmount = faceAmount;
    }

    public BigDecimal getServiceFee() {
        return serviceFee;
    }

    public void setServiceFee(BigDecimal serviceFee) {
        this.serviceFee = serviceFee;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getAliAcount() {
        return aliAcount;
    }

    public void setAliAcount(String aliAcount) {
        this.aliAcount = aliAcount;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

}
